//
//  RequestData.h
//  AAIM
//
//  Created by 远的小布丁 on 2019/12/12.
//  Copyright © 2019 AAIM. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RequestData : NSObject
//获取我的数据
+(void)GetUserCenterDataWithToken:(NSString*)token userUUid:(NSString*)uuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//获取省市
+(void)GetProvincesAndCitiesWithToken:(NSString*)token userUUid:(NSString*)uuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//获取个人信息
+(void)GetUserInfoWithToken:(NSString*)token userUUid:(NSString*)uuid fuuid:(NSString *)fuuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//修改个人信息
+(void)changeUserInfoWithToken:(NSString*)token userUUid:(NSString*)uuid areaStr:(NSString *)area withBirthday:(NSString *)birthday withCity:(NSString *)city withCompany:(NSString *)company withHead:(NSString *)head withIsVerify:(NSString *)isVerify withJob:(NSString *)job withNickName:(NSString *)nickname withProvince:(NSString *)province withRemark:(NSString *)remark withSex:(NSString *)sex Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//修改个人信息
+(void)changePasswordWithToken:(NSString*)token userUUid:(NSString*)uuid  withNewPwd:(NSString *)newPwd withOldPwd:(NSString *)oldPwd withType:(NSString *)type Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//口令看看
+(void)PostWithToken:(NSString*)token userUUid:(NSString*)uuid  withCode:(NSString *)code Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//看看接口
+(void)PostDiscoverWithToken:(NSString*)token userUUid:(NSString*)uuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//公众号
+(void)PostPublicWithToken:(NSString*)token userUUid:(NSString*)uuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;

//公众号资料
+(void)PostPublicInfoWithToken:(NSString*)token userUUid:(NSString*)uuid withPublicUDID:(NSString *)udid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;


//关注、取消关注
+(void)PostAttentionPublicWithToken:(NSString*)token publicUdid:(NSString*)udid withUserUuid:(NSString *)uuid withIsAdd:(NSString *)isadd withFuuid:(NSString *)fuuid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//公众号二维码
+(void)PostPublicQRCodeWithToken:(NSString*)token userUUid:(NSString*)uuid withPublicUDID:(NSString *)udid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//公众号菜单列表
+(void)PostPublicMenuListWithToken:(NSString*)token userUUid:(NSString*)uuid withPublicUDID:(NSString *)udid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//公众号菜单内容
+(void)PostPublicMenuInfoWithToken:(NSString*)token userUUid:(NSString*)uuid withPublicID:(NSString *)ID Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//账单列表
+(void)PostBillListWithToken:(NSString*)token userUUid:(NSString*)uuid withPage:(NSInteger)page withUdid:(NSString *)udid Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
//账单保存
+(void)PostBillListWithCreateTime:(NSString*)createTime userDescribe:(NSString*)describe withFuuid:(NSString *)fuuid withOrderid:(NSString *)orderid withParameter:(NSString *)parameter withRemark:(NSString *)remark withTitle:(NSString *)title withUrl:(NSString *)url Success:(void (^)(NSDictionary *Dict))success failure:(void (^)(NSString* errMsg))failure;
@end

NS_ASSUME_NONNULL_END
